package com.leo.customer.entity.dao

import com.leo.customer.entity.pojo.Organize
import com.leo.customer.entity.pojo.User
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.stereotype.Repository

@Repository
interface OrganizeDao : JpaRepository<Organize, Int>{
    fun findOrganizesByOwner(owner: User)
}
